package com.woniu.bank.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: TODO
 * @Author: WangHeng
 * @Date: 2022/12/8 14:47
 */
@Data
@ApiModel(description = "返回的管理层用户信息")
public class UserVO {
    @ApiModelProperty(value = "用户ID")
    private Integer id;
    @ApiModelProperty(value = "用户账户")
    private String tel;
    @ApiModelProperty(value = "用户真实姓名")
    private String realName;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @ApiModelProperty(value = "用户生日")
    private Date brithday;
    @ApiModelProperty(value = "头像")
    private String headImg;
    @ApiModelProperty(value = "用户状态")
    private String status;

}
